<?php

/*
	Class: Commerce_Plugins_Checkout

	About: Author
		Tyler Vigeant

	About: License
		<http://communit.as/docs/license>
*/
class Commerce_Plugins_Controllerinit {

	/* Group: Constructors */

	/*
		Function: __construct
	*/
	function __construct() {
	}

	/* Group: Instance Methods */

	/*
		Function: addData
	*/
	function addData($params) {
		$Minicart = new Commerce_Plugins_Minicart();
		$params = $Minicart->addData($params);
		
		if( Cts_Registry::get('analytics_is_enabled')=='1' ){
			$Analytics = new Commerce_Plugins_Analytics();
			$params = $Analytics->addData($params);
		}
		
		return $params;
	}

}
